Telephony security system

ABSTRACT

A system and method of telephony security for controlling and logging access between an enterprise&#39;s end-user stations and their respective circuits into the public switched telephone network (PSTN). A security policy, i.e., a set of security rules, are defined for each of the extensions, the rules specifying actions to be taken based upon at least one attribute of the call on the extension. Calls are detected and sensed on the extensions to determine attributes associated with each call. Actions are then performed on selected calls based upon their attributes in accordance with the security rules defined for those extensions.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a continuation of U.S. patent application Ser. No. 10/035,639 entitled TELEPHONY SECURITY SYSTEM filed Oct. 19, 2001, which is a continuation of U.S. patent application Ser. No. 09/593888 entitled TELEPHONY SECURITY SYSTEM filed Jun. 14, 2000, which is a continuation of U.S. patent application Ser. No. 09/210,347 entitled TELEPHONY SECURITY SYSTEM filed Dec. 11, 1998, and is related to U.S. Pat. No. 6,249,575 entitled TELEPHONY SECURITY SYSTEM filed Dec. 11, 1998, to U.S. Pat. No. 6,226,372 entitled A TIGHTLY INTEGRATED COOPERATIVE TELECOMMUNICATIONS FIREWALL AND SCANNER WITH DISTRIBUTED CAPABILITIES filed Dec. 8, 1999, to U.S. patent application Ser. No. 09/572,516 entitled A SYSTEM AMD METHOD TO DISCRIMINATE CALL CONTENT TYPE filed May 17, 2000, to U.S. patent application Ser. No. 09/672,530 entitled A SYSTEM AND METHOD FOR BRINGING AN IN-LINE DEVICE ON-LINE AND ASSUMING CONTROL OF CALLS filed Sep. 28, 2000, and to U.S. patent application Ser. No. 09/709,592 entitled A SYSTEM AND METHOD FOR ENCAPSULATION, COMPRESSION AND ENCRYPTION OF PCM DATA filed Nov. 10, 2000, each assigned to the assignee of the present application.

BACKGROUND OF THE INVENTION

[0002] 1. Technical Field

[0003] The invention relates generally to telecommunications access control systems and particularly to a telephony security system for controlling and logging access between end-user stations and their respective circuits into the public switched telephone network (PSTN).

[0004] 2. Background

[0005] “Policy-based security management” refers to the application of a governing set of rules at strategically located points (chokepoints) for the purpose of enforcing security boundaries between two or more networks, such that only those events meeting certain criteria may pass between them, while all other events are denied passage. For data network operations, this filtering process selectively discards packets in order to control access to the network, or to resources such as files and devices. Variations and improvements of this basic theme have resulted in devices known as firewalls today—network components that provide a security barrier between networks or network segments. Much like a guard at a checkpoint, the firewall strictly enforces rules specified within an established policy for what shall pass the firewall on a case-by-case basis. The policy may alternatively dictate that other actions may apply as well, such as logging the event and/or sending an urgent electronic mail message notifying appropriate personnel of the event.

[0006] Security professionals consider firewalls to be essential in the protection of an enterprise's private data network or virtual private data network from access to the enterprise's computers by unauthorized personnel or “hackers.” Like any security measure, however, firewalls are not foolproof. Firewalls provide no protection for traffic routed around them, as is often the case when modems are used while connected to internal data networks; i.e., circumvention of the firewall through unprotected channels, such as through telephone lines or extensions normally used for voice or fax. Clearly, there is a need for a telephony security system and method for controlling access to an enterprise's data network through telephony resources that otherwise cannot be sufficiently protected by traditional firewall technology.

[0007] In addition to security needs relevant to computer networks, there are issues in the toll fraud, phone misuse, call accounting and bill reconciliation arenas that warrant similar protections. Currently, a need exists to address the full spectrum of security issues across all locations of an enterprise that may span the entire globe. A need exists for a scalable and manageable telephony security system and a method for controlling and logging access to an enterprise's telephony resources.

SUMMARY OF THE INVENTION

[0008] The present invention, accordingly, provides a system and method for performing security access control functions for an enterprise's telephone circuits between end-user stations and their respective circuits into the public switched telephone network (PSTN). In the most basic configuration, inbound and outbound calls are allowed or denied (i.e., blocked or “hung-up”), content monitored, recorded or redirected according to a rule-set that is managed by a security administrator. In one aspect of the invention, the disclosed system and method combines call-progress monitoring, caller-id (CND) and/or automatic number identification (ANI) decoding, digital line protocol reception, decoding, demodulation, pulse dial detection, tone detection (DTMF and MF), and speech recognition with microprocessor control, access-control logic, and call-interrupt circuitry.

[0009] The system and method of the present invention performs centrally managed, enterprise-wide enforcement of an enterprise's telephony security policy and real-time notification in selected instances of attempted security breaches. The system utilizes a specialized device to monitor and control access to every telephone station, fax machine, and modem line for all locations within the enterprise having telephony resources that are routed through the device.

[0010] Specific attributes identified by the telephony access control device pertaining to all inbound and outbound calls determine whether certain calls, in accordance with a predefined security policy, are allowed, denied (“hung-up”), content monitored, recorded, redirected, logged, and/or initiate additional actions such as electronic mail notification, pager alerting, console messaging, or a Simple Network Management Protocol (SNMP) trap notification. Attributes captured by the device include, as examples: station extension; inbound caller-ID information (when available); outbound number dialed; call-type (i.e., fax, modem, or voice); call content such as keywords detected via speech recognition or demodulated modem and/or fax data; time and date stamp; and call duration. As used herein, “keyword” is understood to refer to a predefined sequence of digital data.

[0011] The rule-set for control of call traffic by the device defines a security policy that governs how telephony resources may be used within the enterprise. Each rule, upon meeting certain criteria, initiates appropriate security action(s).

[0012] In one embodiment, a system and method of telephony security is provided that controls call access into and out of the enterprise on a per line (station extension or trunk line) basis. A security policy, i.e., a set of access rules, are defined for each line; the rules specifying actions to be taken based upon at least one attribute of the call present on the line. In this embodiment, calls are tracked and sensed on a per line basis, extracting specific attributes that are available at the time of the call. Actions are then performed based upon the detected call attributes in accordance with the security policy that applies to that line.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] A better understanding of the telephony security system of the present invention may be had by reference to the drawing figures, wherein:

[0014]FIG. 1 is a schematic block diagram of a telephony security system of the present invention;

[0015]FIG. 2 is a functional block diagram of the system of FIG. 1 showing a simplified example security policy and corresponding actions and features;

[0016]FIG. 3 is a flow diagram illustrating example installation, configuration and operational processes for the system of FIG. 1;

[0017]FIG. 4 is a flow diagram illustrating details of an example installation and hardware configuration process for the system of FIG. 1;

[0018]FIG. 5A is a flow diagram illustrating concepts for an automated Amphenol pinout discovery process for the system of FIG. 1;

[0019]FIG. 5B is a table illustrating a simplified example Amphenol pinout for a small business enterprise;

[0020]FIG. 6A is a flow diagram illustrating concepts for a line map discovery and configuration process for the system of FIG. 1;

[0021]FIG. 6B is a table illustrating a simplified example line map for a small business enterprise;

[0022]FIG. 7 is a table illustrating an example group list configuration for a small business enterprise;

[0023]FIG. 8A is a table illustrating an example security policy for a business enterprise;

[0024]FIG. 8B is a flow diagram illustrating enforcement of a security policy in operation of the system of FIG. 1; and

[0025]FIGS. 9A and 9B are a flow diagram illustrating details of an example detect and analyze call activity process for the system of FIG. 1.

DETAILED DESCRIPTION

[0026] In FIG. 1, the reference numeral 10 refers to a telephony security system of the present invention. The system 10 consists primarily of a telephony access control device 12 connected in-line between end-user stations 14 at one or more locations of an enterprise and the stations' circuits into the public switched telephone network (PSTN). While shown as a separate box in FIG. 1, all functions of the telephony access control device 12 are inserted into the system 10 with line sensors at sensor points 18 (direct connect lines), 22 (station-side of a PBX), and 24 (trunk-side of a PBX).

[0027] Also in FIG. 1, numerals 14 a, 14 b, and 14 c refer to end-user stations 14 connected through the telephony access control device 12, representing as examples, one or more telephones 14 a, fax machines 14 b and modems 14 c. The modems 14 c may support desktop or portable personal computers, for example. Individual station extensions 20 connect each of the stations 14 through the device 12 to a PBX 16 or a central office 11. As represented by sensor point 22 and its corresponding line, it is understood that the device 12 is configured to map the individual station extensions 20 through the device 12 to their respective wire pairs (not shown) within the PBX 16, and also to one or more telephone lines, as indicated at sensor point 18, directly connected to the central office 11.

[0028] Several configurations are possible, whereby connectivity of the line sensor(s) on the PSTN-side of the telephony access control device 12 may be any combination of the PBX trunk-side connection at point 24, the PBX station-side connection at point 22, and direct connects at point 18. A completely PBX station-side implementation with the line sensor at point 22, for example, might exclusively consist of Amphenol connectors (RJ-21X) (not shown), or other standard connectors and associated cabling, for interconnecting the PBX 16 with connection inputs of the device 12.

[0029] While not shown, it is understood that more than one network-addressable device 12 may be utilized within an enterprise, at one or more locations, whereby security is provided by the device(s) 12 for traffic into and out of a private network or virtual private network of the enterprise.

[0030] A management station 26 is connected to the device 12 for consolidation, management, display or printing of: recorded call content, reports and call logs and for programming the security policy and other operational features of the device 12. Historical logging and archiving of calls pursuant to a predetermined security policy may be accomplished on the local management station 26, or stored via a network accessible log server 28.

[0031] The device 12 combines call-progress monitoring, caller-id (CND) and/or automatic number identification (ANI) decoding, digital line protocol reception, decoding, demodulation, pulse dial detection, tone detection (DTMF and MF), and speech recognition with microprocessor control, access-control logic, and call-interrupt circuitry for implementing the desired access control functions. The inventive functions performed by the device 12, as further described below, may be implemented with commercially available components as will be understood by those skilled in the art. While also not shown, it is understood that the device 12 is controlled by computer programming instructions stored in memory within the device 12 and which may also be stored in memory within other components of the system 10 connected to the device 12.

[0032] Referring also to FIG. 2, a functional schematic 30 illustrates certain operational aspects of the system 10. An example (very simplified) security policy 32 is shown for controlling the flow of calls through the device 12. The policy 32 implements a rule-set that depends upon the type of equipment (phone 14 a, fax machine 14 b, modem 14 c) being used on the extension for either inbound or outbound calls. It is understood that the rule-set is implemented by software instructions within the device 12 that may, for example, be programmed or modified at either the device 12 or at the management station 26 (FIG. 1) located nearby or at a very remote distance therefrom within the enterprise.

[0033] As exemplified in FIG. 2, the security policy 32 dictates the type of actions associated with individual or groups of calls (e.g., allow, terminate, monitor content , record, redirect, log, alert, report), according to specified rules. In the present example, the security rules specify that: (1) no data calls are permitted on designated voice lines; (2) no computer modem calls are permitted on designated fax lines; (3) no modem calls are permitted during a designated time (e.g., after 8 pm); and (4) no outbound calls are permitted to a certain destination identified by a digital sequence (e.g., 1 9XX —where 9XX indicates a Numbering Plan Area code).

[0034] A call log 34 is generated for calls, designating attributes of the calls, for example, the line (extension); the call number; the call direction (inbound, outbound); the call type; call content; the date and time; the call duration; and the description of the call-event (e.g., unauthorized outbound modem; keywords detected in call content; call content recorded). Example reporting options include post-event or batch analysis 36 (trending), and alert options include electronic mail notification 38, pager alerting 40, console messaging and SNMP trap notification. While not shown, it is understood that the device 12 is able to communicate within the enterprise network with various host computers for providing the reporting functions.

[0035]FIG. 3 is a process flow diagram 300 illustrating installation, configuration and operation processes for the system 10. Once installed and configured, it is understood that the system 10 is capable of operating in a continuous processing loop, including detecting call attributes and analyzing call activity while simultaneously performing appropriate actions in accordance with the rules in the defined security policy. There are, however, a number of processes that are first performed as part of the installation and configuration of the system 10 within an enterprise or one or more of its locations.

[0036] Step 302 refers to the process of system installation and hardware configuration, discussed below with respect to FIG. 4 and FIGS. 5A-5B. Step 304 refers to the process of system line map discovery and configuration, discussed below with reference to FIGS. 6A and 6B. Step 306 refers to user list and group list configuration, discussed below with reference to FIG. 7. Step 308 refers to security policy configuration, discussed below with reference to FIG. 8A. Steps 310-320 refer to the process of detecting call attributes and analyzing call activity, whereupon actions are taken for each call according to the security policy, discussed below and in further detail later with reference to FIGS. 9A and 9B.

[0037] In FIG. 3, the process of call detecting and analyzing call activity begins in step 310. For each station 14 connected by an extension 20 through the device 12, the device 12 will capture and analyze call-activity, then consolidate and report details of the activity for further processing.

[0038] An aspect of this process involves the ability of the device 12 to distinguish between fax, modem, and voice call-types. Algorithms for call-type distinction are utilized that, in one implementation, distinguish the call-type based upon spectral analysis associated with typical fax and other data transmission protocols. Further analysis of call activity involves the ability of the device 12 to detect keywords in call content via speech recognition or demodulated modem/fax data.

[0039] While not shown, it is understood that the “Action Policy” 312 and the “Event Policy” 318 are aspects of the overall security policy as discussed previously. In step 312, an “Action Policy” determines what action to take for a particular call, depending upon attributes of the call as determined in step 310. The rule-set for the “Action Policy” in step 312 may be determined and programmed to meet the security needs of the enterprise, which may include allowing the call, denying the call, or performing some other specific action such as redirecting the call or recording the call (step 316). In step 314, a denied call is terminated (“Hang Up Call”). Policy may also dictate that an event is logged (step 320) and what detail the log entry should include. While not shown, it is understood that there will be different levels of log entries, ranging from very brief to verbose.

[0040] Example rule-sets for the “Action Policy” and the “Log Event Policy” are discussed below with reference to FIG. 8A.

[0041] Installation and Hardware Configuration

[0042]FIG. 4 illustrates the process 302 of system installation and hardware configuration. In step 400, a cable concentrator (not shown) is installed to connect the device 12. Because the telephony access control device 12 is positioned in-line between the end-user stations 14 and the PSTN (or PBX), cabling must be routed to and from the telephony access control device 12 and the point of interconnection with the telephone network. In the case of a PBX station-side implementation, 25-pair wire cables terminated with Amphenol connectors leading from the PBX would be re-routed to one side of an cable concentrator of a line sensor at point 22, while cables on the other side of the cable concentrator at point 22 would complete the original circuits by routing to their respective 66-type blocks (“punch-down blocks”). Switches, placed in-line for each wire-pair in the cable concentrator at point 22, are controlled by the telephony access control device 12, providing the capability for hanging up the call (for analog lines only). The combination of the cable concentrator (when required), and the associated switches and associated control logic (when required), and the associated control logic embodied in what is described as device 12 are collectively referred to herein as a line sensor.

[0043] In step 402, the remote management station 26 is set up, whereby a personal computer, meeting certain performance specifications, is acquired and configured with an operating system, booted, and made ready for operation. In step 404, software required to operate the telephony access control device 12, including for example defining and maintaining the security policy, is installed onto the remote management station 26. Although not shown, it is understood that installation of control software may include writing firmware instructions for the associated switches and/or the associated control logic for the line sensors as required.

[0044] In step 406, a process is performed that determines Amphenol connector pinouts so that the individual station extensions 20 are properly connected through the device 12 to the wire pairs from the PBX 16 or from the CO 11. The process utilizes an automated (or partially automated) mechanism for determining the correct Amphenol pinout, described in more detail below.

[0045] In steps 408-414, the cable and pinout connections are tested and troubleshooting is performed until complete. Testing of connectivity may take place manually by a service technician, or automatically through a software test algorithm, or a combination of both. After installed, and with power off, the telephony access control device 12 should be transparent to the enterprise telecommunications system; i.e., all wire-pairs should be terminated at the same points as they were prior to the installation. Should the installation process alter this mapping in any way, a service technician will have to determine the cause and correct it. Step 414 indicates the service technician has met these requirements.

[0046] Automated Amphenol Pinout Discovery

[0047]FIGS. 5A and 5B illustrate the process 406 of automated Amphenol pinout discovery, in particular with reference to steps 500-522 (FIG. 5A) and an example Amphenol connector pinout (FIG. 5B).

[0048] Line-side Amphenol connectors (not shown) have different pinouts depending on both the manufacturer and the subscriber line interface card (SLIC) they are attached to. “Pinout” refers to the association of connector pins to lines. For example, line #1 may only use pins 1 and 2, or as many as pins 1 through 6; then line #2 would use either only pins 3 and 4, or pins 7 through 12; and so on. In the PBX environment, pinout designation is non-standard because, for example, pins normally intended for line #2 might instead be used for “voice on hold” at the installer's discretion; the effect of which is that line #2 would actually use pins 13 through 18.

[0049] Installation of the device 12 is accompanied by a process for automatically determining card-types and manufacturers to help resolve this problem. One method, for example, is illustrated with reference to steps 500-522. In step 500, for each Amphenol connector on the station-side of the PBX 16, line levels are sampled and digitized, providing a digital data stream to a processor (not shown) for each pin in the connector. This involves digitizing both analog and digital signal levels and presenting that information to a processor for reconstruction in digital form for analysis. Step 502 determines the card-type by analyzing line levels and signatures associated with known types. Step 504 determines the system-type (manufacturer) by analyzing signal patterns and distribution across all fifty pins associated with known types. In steps 506-508, if the card-type is digital, a determination is made of the PCM-coding scheme employed by the PBX 16. In step 510, given the information gathered so far, the pinout for this particular Amphenol connector is determined, i.e., pin numbers are assigned to lines (wire-pairs). In steps 512-522, for each line, it is determined whether the line is terminated with an end-user station (phone, fax, modem), or if the line is assigned to an auxiliary device such as “voice on hold”, voice mail, or intercom.

[0050]FIG. 5B is a table illustrating an example Amphenol connector pinout configuration for a small business serviced by a single “Company X” PBX and several direct analog lines for fax and dial-up. Notice that each end-user station uses 2 wire-pairs (4 wires) and that the office intercom system was wired into pins 45-48 on Amphenol connector J0. Another Amphenol connector J1 was used to run the analog lines, each using only two pins per station.

[0051] Line Map Configuration

[0052]FIGS. 6A and 6B illustrate the process 304 of line map configuration, in particular with reference to steps 600-624 (FIG. 6A), and an example line map (FIG. 6B).

[0053] After installation of the hardware and software, the system 10 must be configured to map individual stations 14 (station extensions 20) to their respective wire-pairs inside the PBX 16, as well as assign telephone numbers to direct connect lines that come directly from a central office 11. From the Amphenol connector pinout determination previously made, for example, it is known that pins 5 through 8 map to line #2 in the PBX 16. A line map can then be generated that indicates the association of a particular line to a station's extension (e.g., line #2 in the PBX 16 is associated with station 14 having an extension number “6251”).

[0054] Steps 600-624 describe example line mapping processes for the mapping of ports in the PBX 16 to their respective end-user stations 14 (phone, fax, or modem), thereby generating a list of what PBX ports belong to what station numbers. Recognizing that the configuration is maintained by the PBX 16 as well, it can be obtained from the PBX for use by the device 12, as described with reference to steps 600-612. In the case of lines that are directly connected to the central office 11, the extension number must be identified and included in the line map as well. Various methods are contemplated for obtaining this information, including aspects that can be automated with software.

[0055] In steps 618-620, an auto-dial process is utilized to determine the line map configuration whereby the device 12 sequentially dials a range of extensions, then detects and maps each telephone number to the station 14 that responded. For some analog lines, this process may be enhanced by transmitting and detecting sequences of out-of-band signals that only the device 12 can recognize.

[0056]FIG. 6B is a table illustrating an example line map configuration for a small business serviced by one PBX. After accessing the PBX and examining the punch-down blocks (not shown), an installer of the system 10 can create a line map for the system that might look like the table of FIG. 6B. Note that intercom lines are not included in the line map since intercom lines are not a security concern.

[0057] User List and Group List Configuration

[0058] Referring again to FIG. 3, after the line map is configured (step 304), a user list and group list configuration process is performed, as indicated in step 306. Specifically, the user of the system 10 can, using the line map, create a list of users, aliases, and groups of objects, thereby facilitating ease of management.

[0059] The user list and group list configuration defines an authentication mechanism that associates users with privileges, thus controlling access to the system 10 in the same manner that operating systems control access to resources. In addition, aliases can be created to associate meaningful names with inanimate objects, such as, in this particular case, telephone numbers; for example, it will be easier to work with an extension named “John” than to have to remember that extension 6251 is John's.

[0060] It is contemplated that the system 10 will make extensive use of groups, where objects of the same type can be collectively referred to by a meaningful alias. For example, the “Sales” group may consist of extensions pointed by the aliases “John,” “Mary,” “Robert,” and all extensions in the range 6200 through 6500.

[0061]FIG. 7 illustrates an example group list configuration for the system 10. After the line map is defined, a group list can be created using the information in the line map. In this case, the stations are grouped according to office-department (sales and engineering) and by function (voice, fax, modem). Groups may overlap one another and even contain other groups entirely, as in the case of the “Voice-Only” group that contains the entire “Sales” group as well as all extensions within the range 210-402-66XX.

[0062] Security Policy Configuration

[0063]FIG. 8A illustrates details of an example security policy configuration for the system 10, as previously mentioned with respect to step 308 in FIG. 3.

[0064] Determining the security policy for the system 10 involves creating a set of rules, collectively referred to as a policy, that define what actions will be associated with particular groups of objects. For example, a rule might read “all outbound modem calls from the Engineering group, during the hours of 5 pm and 5 am on any given day should be denied and logged.”

[0065] Referring to FIG. 8A, an example security policy defines “Rules” that, based upon call attributes of “Source,” “Destination,” “Call-type (e.g., fax, modem, voice),” “Date,” and “Time,” implement an “Action” (allow or deny the call) and a reporting function, “Track” (full spectrum from brief to verbose log entry).

[0066] In FIG. 8A, Rules 1-10 are explained as follows:

[0067] Rule 1

[0068] This rule states “Any long distance calls between 8 pm and 4 am on the phones in the Voice-Only group will be denied and an alert will be generated, notifying in real-time of the event”. Note that the “1*” in the “Destination” column means a “1” followed by any other number. This rule might be used to prevent unauthorized persons, such as cleaning crews, from placing long distance calls from a business during late evening hours.

[0069] Rule 2

[0070] This rule states “Allow all outbound voice calls from the phones in the Voice-Only group any time on any day, and then log the call”. This rule will allow business as usual while logging the call for accounting purposes.

[0071] Rule 3

[0072] This rule states “Allow all inbound voice calls to the phones in the Voice-Only group any time on any day, and then log the call”. Again, this rule will allow business as usual while logging the call for accounting purposes.

[0073] Rule 4

[0074] This rule states “Any call into the Voice-Only group that is not voice will be denied and an alert will be generated, notifying in real-time of the event”. Note that the “!” proceeding “voice” in the “Type” column means “NOT”; e.g., NOT voice. This rule might be used to alert security personnel to potential hacking attempts such as “war-dialing.”

[0075] Rule 5

[0076] This rule states “Allow all outbound faxes from the Fax group any time on any day, and then log the call”. This rule will allow normal fax traffic while logging the call for accounting purposes.

[0077] Rule 6

[0078] This rule states “Allow all inbound faxes to the Fax group any time on any day, and then log the call”. Again, this rule will allow normal fax traffic while logging the call for accounting purposes.

[0079] Rule 7

[0080] This rule states “Any outbound call from the Fax group that is not a fax will be denied and an alert will be generated, notifying [me] in real-time of the event”. Note that the “!” proceeding “fax” in the “Type” column means “NOT”; e.g., NOT fax. This rule might be used to alert security personnel to potential abuses of the fax lines, such as attempts to dial out using a modem or simply using the line for a voice call.

[0081] Rule 8

[0082] This rule states “Only a modem from 680-8272 may dial into the phone named CO4 (the lab dial-in modem line) and the call will be logged”. This rule will lock down remote administration through a dial-up to the system administrator's home phone.

[0083] Rule 9

[0084] This rule states “Any call into the line named CO4 (the lab dial-in modem line) will be denied and an alert will be generated, sending a real-time notification of the event”. This rule might be used to alert a security administrator of unauthorized attempts to access the dial-in modem line.

[0085] Rule 10

[0086] This catch-all rule states “Log all calls from anywhere to anywhere at any time of any day”. This rule is typically appended to log all denied calls that do not fit into any of the preceding rules. At first glance, this rule seems counter-intuitive since it seems to deny any call from anywhere. This is not the case. Each rule is evaluated in sequential order, exiting immediately after any one rule matches the criteria.

[0087] Security Policy Enforcement

[0088]FIG. 8B illustrates an example process flow 800 for implementing a security policy of the system 10.

[0089] In step 802 a determination is made as to whether the call is inbound or outbound. In step 804, for outbound calls the system sets the source equal to the line map, such that the extension from which the call is being made can be identified. The destination is set equal to the user-dialed digits, indicating that the line sensor or the device 12 will determine the destination number of the call. In step 806, for inbound calls the source is set equal to caller-ID so that a caller identification device can determine the source of the inbound call. The destination is set equal to the line map so that the destination extension can be determined according to the line map.

[0090] As indicated in steps 808-822, a process loop is applied for each rule until an action is indicated for the current rule, as indicated in step 818.

[0091] Referring now to both FIGS. 8A and 8B, operation of the system 10 to enforce a security policy is now described with reference to an example call scenario.

[0092] In this example scenario, assume that a person unhooks a fax line at an enterprise during the evening hours and attempts to dial out with a modem for the purpose of sending proprietary information outside the enterprise network (e.g., to a competitor). First, the fax machine is unplugged, a modem is plugged in, and the user dials out from 402-7002 to a local ISP at 353-0005. The device 12 detects the call, determines that the call-type is a modem, collects call attributes into a record and applies the rules in FIG. 8A:

[0093] Rule 1: The source number is not in the Voice-Only group, so skip to rule 2.

[0094] Rule 2: The source number is not in the Voice-Only group, so skip to 3.

[0095] Rule 3: The source number matches, but destination number is not in the Voice-Only group, so skip to 4.

[0096] Rule 4: The source number matches but not the destination, so skip to 5.

[0097] Rule 5: The source number is in the Fax group, and the destination matches, but the call-type is modem (not fax), so skip to 6.

[0098] Rule 6: The source number matches but destination is not in the Fax group, so skip to 7.

[0099] Rule 7: The source number matches, destination number matches, call-type is not fax, and the date and time match (any), so DENY the call, log it, and ALERT the security administrator of the attempted breach. At this point the process is done, and execution proceeds to handle the next call. If an event does not match any rule, it optionally may then be handled by a user-configurable “catch-all” rule.

[0100] Rules are evaluated for an event in sequential order until either one is met, or no rules meet the call attributes. The call attributes in this case can include, but is not limited to, any boolean combination (AND, OR, NOT) of the following: (1) source telephone number, numbers, or mask (e.g., 210-402-XXXX) where the source number is the number of the party initiating the call; i.e., the extension assigned to a station for outbound calls, or the number extracted from caller-ID (or any other means) for inbound calls; (2) destination telephone number, numbers, or mask where the destination number is the number of the party receiving the call; i.e., the extension assigned to a station for inbound calls, or the number dialed (DTMF decoded or by any other means) for outbound calls; (3) type of call, defined as either fax, modem, or voice; (4) date of call, defined as specific dates, ranges of dates, day(s)-of-week, or any combination thereof; (5) time of call, defined as specific times, ranges of times, time(s)-of-day, or any combination thereof; (6) keywords detected in call content; and (7) duration of the call (in seconds).

[0101] Detection and Analysis of Call Activity

[0102]FIGS. 9A and 9B illustrate details of an example process for detecting call attributes and analyzing call activity, as previously mentioned with respect to step 310 in FIG. 3.

[0103] Steps 900-924 illustrate that for each station under control of the device 12, the system 10 will capture call attributes such as station extension identification; inbound caller-ID information (when available); outbound number dialed; call type (i.e., fax, modem, or voice); call content such as keywords detected via speech recognition or demodulated modem and/or fax data; time and date stamp; and call duration; and analyze call-activity, then consolidate and report details of the activity for further processing.

[0104] An aspect of the process involves the distinction between fax, modem, and voice call-types, whereby “fax,” “modem,” and “voice” call-types are assigned to each call (steps 910, 914, 916) by capturing and analyzing the call handshake signals (step 906), in the case of both inbound and outbound calls. If required by the rule (steps 911 and 915), the process may further involve monitoring call content to detect keywords via speech recognition or demodulation of modem/fax data (steps 913 and 917). A call-event record is created (step 918) which is then utilized in implementing the security policy.

[0105] It is understood that the present invention can take many forms and embodiments. The embodiments shown herein are intended to illustrate rather than to limit the invention, it being appreciated that variations may be made without departing from the spirit of the scope of the invention. For example, any number of different rule criteria for the security policy may be defined. Different attribute descriptions and rule descriptions are contemplated. The algorithms and process functions performed by the system may be organized into any number of different modules or computer programs for operation on one or more processors or workstations within the system. Different configurations of computers and processors for the system are contemplated. As previously indicated, the functions of the device 12 may be implemented on the trunk-side of the PBX at point 24, on the station-side of the PBX at point 22, on direct connect lines at point 18, or in any combination thereof. The device 12 may be complemented with a computer telephony integration (CTI) interface(s) to specific PBXs. In this alternate embodiment of the invention, the device 12 may issue commands to the PBX 16 (via the CTI interface), for the PBX to perform designated actions on the call. Additionally, the PBX 16 may provide designated call attributes to the device 12 (via the CTI interface), for use in applying the security rule-set to the call. Action commands issued to, and call attributes provided by the PBX are in accordance with the rule-set and within PBX capabilities. The programs used to implement the methods and processes of the system may be implemented in any appropriate programming language and run in cooperation with any hardware device. The system may be used for enterprises as small as a private home or business with just a few phone lines as well as for large enterprises with multiple PBX locations around the world, interconnected in one or more private networks or virtual private networks. In the case where multiple extensions are involved, it is understood that the extensions may be PBX extensions or direct line extensions.

[0106] Although illustrative embodiments of the invention have been shown and described, a wide range of modification, change and substitution is intended in the foregoing disclosure and in some instances some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention. 

1. A system for the application of security rules for specifying actions to be taken for the management and enforcement of policies related to the use of telecommunication services in an enterprise, said system comprising: a line sensor within the enterprise for: determining whether an incoming or an outgoing call is a voice, fax or data modem call; determining at least one attribute of either an incoming call or an outgoing call wherein said at least one attribute is selected from a list of attributes, including: call date, call time, call content, call duration, line identification, inbound number, outbound number dialed, dialing sequence, and DTMF; means for taking actions described in the security rules on either an incoming or an outgoing call conditioned on said determined type of call and said determined at least one attribute of an incoming or outgoing call.
 2. The system as defined in claim 1 wherein the use of an unauthorized modem for an incoming call or for an outgoing call is detected and the call is terminated.
 3. The system as defined in claim 1 wherein unauthorized attempts to violate the security rules are recorded and reported.
 4. The system as defined in claim 1 wherein said means for taking actions described in the security rules further includes means to limit unauthorized use of long distance calling capabilities.
 5. The system as defined in claim 1 wherein said means for taking actions described in the security rules further includes means to limit unauthorized use of telecommunications services outside of predetermined operating hours for the enterprise.
 6. The system as defined in claim 1 further including means for generating a call record for each telecommunication line of an enterprise and its use for either a voice call, a fax call or a modem call.
 7. The system as defined in claim 1 wherein said means for taking actions described in the security rules can prevent data modem calls on lines designated for fax calls or voice calls.
 8. The system as defined in claim 1 wherein said means for taking actions described in the security rules can prevent voice calls on lines designated for fax calls or data modem calls.
 9. The system as defined in claim 1 wherein said means for taking actions described in the security rules will report unauthorized calls while the unauthorized call is in progress.
 10. The system as defined in claim 1 wherein said means for taking actions described in the security rules can block any one of voice calls, fax calls or data modem calls on a line which is restricted for use with another type of call.
 11. A combination of a call type and call attribute sensor for use with telecommunications security rules enforcement system located in an enterprise, said combination comprising: a call type and call attribute sensor within the enterprise for: determining whether a call coming into the enterprise or directed out of the enterprise is a voice call, a fax call, or a call involving the transmission of data using a modem; determining at least one attribute of the either coming into the enterprise or directed out of the enterprise, said at least one attribute being selected from a list including: call date, call time, call content, call duration, line identification, inbound number, outbound number dialed, dialing sequence, and DTMF; means for taking telecommunications security actions based on the telecommunications security rules wherein said telecommunications security actions are conditioned on said determination if the call coming into the enterprise or directed out of the enterprise is a voice call, a fax call, or a call involving the transmission of data using a modem, and said determination of at least one attribute of the call either coming into the enterprise or directed out of the enterprise.
 12. The combination as defined in claim 11 wherein the use of an unauthorized modem for a call coming into the enterprise or a call directed out of the enterprise is detected and the call is terminated.
 13. The combination as defined in claim 11 wherein unauthorized attempts to violate the telecommunications security rules are recorded and reported.
 14. The combination as defined in claim 11 wherein said means for taking telecommunications security actions described in the telecommunications security rules further includes means to limit unauthorized use of long distance service.
 15. The combination as defined in claim 11 wherein said means for taking telecommunications security actions described in the telecommunications security rules include means to limit unauthorized use of telecommunications services during periods outside of the operating hours of the enterprise.
 16. The combination as defined in claim 11 further including means for generating a record of each call on each line coming into the enterprise and each call on each line directed out of the enterprise and the use of said line for either a voice call, a fax call or a modem call.
 17. The system as defined in claim 11 wherein said means for taking actions described in the telecommunications security rules will prevent data modem calls on lines designated for fax calls or voice calls.
 18. The system as defined in claim 11 wherein said means for taking action described in the telecommunications security rules will prevent voice calls on lines designated for fax calls or data modem calls.
 19. The system as defined in claim 11 wherein said means for taking action described in the telecommunications security rules will report unauthorized calls before the unauthorized call is terminated.
 20. The system as defined in claim 11 wherein said means for taking actions described in the telecommunications security rules can block any one of voice calls, fax calls or data modem calls on a line which is restricted for use with another type of call. 